package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

public interface SetmealService extends IService<Setmeal> {

    //type:0 新增，，1 更新
    public void saveWithdish(SetmealDto setmealDto,int type);

    public SetmealDto useIdtodish(Long id);

    public void delete(Long id);
}
